<?php

class Application_Model_DbTable_Gallery extends Zend_Db_Table_Abstract implements Application_Model_DbTable_Interface
{
    const FIELD_ID    = 'photo_id';
    const FIELD_PATH  = 'photo_path';
    const FIELD_DESC  = 'photo_desc';
    const FIELD_ALBUM = 'album_id';

    protected $_name = 'gallery';

    public function getPrimaryKey()
    {
        return self::FIELD_ID;
    }
}